#ifndef PREDICTLINEFORM_H
#define PREDICTLINEFORM_H

#include <QWidget>
#include <QtCharts/QPieSeries>
#include <QFileDialog>
#include <QTextEdit>
#include <QAxObject>
#include <QWidget>
#include <QtCharts/QPieSeries>
#include <QScatterSeries>
#include <QMessageBox>
#include <QtCharts>
#include <QtCharts/QChartView>
#include <QtCharts/QChart>
#include <QtCharts/QLegend>
#include <QtCharts/QPieSeries>
#include <QtCharts/QPieSlice>
#include <QtCore/QTime>
#include <QtWidgets/QGridLayout>
#include <QtCharts/QScatterSeries>
#include "utils/SerialUtil.h"
#include <QStandardItemModel>
#include <QDateTime>


namespace Ui {
class PredictLineForm;
}

QT_CHARTS_USE_NAMESPACE

class PredictLineForm : public QWidget
{
    Q_OBJECT

public:
    explicit PredictLineForm(QWidget *parent = nullptr);
    ~PredictLineForm();
    //绘制施工曲线点图
   void drawLineChart();
   void initDataList();
  void drawDesignline();
private slots:
  void on_pushButton_7_clicked();

private:
    Ui::PredictLineForm *ui;
    QScatterSeries* series1;


    QChart* chart1;
    QValueAxis *axisX1, *axisY1;
    QChartView *chartView1;

    QScatterSeries* series6;


    QChart* chart4;
    QValueAxis *axisX2, *axisY2;
    QChartView *chartView2;

     double design_x2=0,design_y2=0,design_z2=0;
};

#endif // PREDICTLINEFORM_H
